package com.xjj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author GH
 * @date 2022/10/19 19:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xjj_job_submit")
public class JobSubmit {
    //作业批改情况id
    private Integer id;
    //学生id
    private Integer studentId;
    //作业id
    private Integer jobId;
    //作业评价
    private String evaluation;
    //作业状态
    /**
     * 已提交未审批：a
     * 已审批:b
     * 未提交：c
     */
    private String status;
    //作业评级
    private String level;
    /**
     * 该作业提交的图片集合
     */
    @TableField(exist = false)
    private List<Img> jobSubmitPhotos;
    /**
     * 学生信息
     */
    @TableField(exist = false)
    private Student student;
}

